package com.onluy.framework.base;

public class JsonResult {
	public boolean  success =	false ; 
	public String msg	="请先登录！";
	public int  msgtype	;
	public int total	;
	public Object rows;

	 public JsonResult() {
		 
	 }
	
  public JsonResult(boolean  success,String msg) {
		 this.success=success;
		 this.msg=msg;
	 }
	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public int getMsgtype() {
		return msgtype;
	}

	public void setMsgtype(int msgtype) {
		this.msgtype = msgtype;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public Object getRows() {
		return rows;
	}

	public void setRows(Object rows) {
		this.rows = rows;
	}
}
